package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.RestToken;
import com.tjmc.tiomscore.model.RestTokenExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RestTokenMapper {
    long countByExample(RestTokenExample example);

    int deleteByExample(RestTokenExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(RestToken record);

    int insertSelective(RestToken record);

    List<RestToken> selectByExample(RestTokenExample example);

    RestToken selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") RestToken record, @Param("example") RestTokenExample example);

    int updateByExample(@Param("record") RestToken record, @Param("example") RestTokenExample example);

    int updateByPrimaryKeySelective(RestToken record);

    int updateByPrimaryKey(RestToken record);
}